/**
 * Created by chang on 2017/2/10.
 */
const menuService = require('../../services/dao/admin/adminMenu');
const sessionFilter = require('../../middlewares/adminSessionMiddleware');
const log4js = require('../../utils/log4js');

const menu = module.exports;

menu.get_getMenu = [sessionFilter, (req, res) => {
    let data = menuService.readMenuConfig();
    res.jsonWrap(data);
}];
